import java.util.Scanner;

/**
 * Created by dllo on 18/3/29.
 */
public class Question01 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入年份");

        int a = scanner.nextInt();

        if ((a % 4 == 0 && a % 100 != 0) || a % 400 == 0) {
            System.out.println(a + "是闰年");
        } else {
            System.out.println(a + "不是闰年");
        }
    }
}
